home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 5
/
Gold Medal Software - Volume 5 (Gold Medal) (1995).iso
/
database
/
cff51b.arj
/
PORTS.DOC
< prev
next >
Wrap
Text File
|
1993-10-22
|
2KB
|
39 lines
The first thing you must do is to make a version of cfport.c that
compiles on your system with your compiler. Then you should make
the test programs in the test directory. If you experience any
errors with the test programs the problem is either:
1. cfport.c is failing.
2. your compiler is not compatible with gcc subroutine linkage
and/or register preservation.
Usually, problem #2 will show up immediately -- just give up, there
is no hope. Perhaps someday gcc will contain command line options
which will allow changes to it's linkage conventions.
I have included sample ports and makefiles for djcc, emx, ztc, and cset2.
ztc and cset2 don't work (is it problem 2? I think so).
A unix port for gcc should be a piece of cake, just take the djcc port and
set PCDOS = 0.
The emx ports come in two flavors: 1. A port which works under both
DOS and OS2 2.x. 2. An experimental port which works only under OS2.
The experimental emx OS2 port was a prelude to my cset2 experiment.
Namely, sbrk is emulated within cfport.c.
NOTE: emx has a lot of heap options that I have ignored.
FILES
cfport.cs2 // ibm cset2 for OS2 (fails to run)
cfport.emx // emx for DOS and OS2
cfport.djc // djcc DOS extender (the libraries were compiled w/djcc)
cfport.ztc // zortech c++ version 3.0 w/dos extender (fails to run)
MAKEFILES
emxdos.mak // the DOS + OS2 version
emxos2.mak // the experimental OS2 version
djcc.mak // djcc
cset2.mak // cset2